
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.Generalsetting;
import com.cmc.dao.GeneralsettingDao;

public interface GeneralsettingManager extends Manager {
    /**
     * Retrieves all of the generalsettings
     */
    public List getGeneralsettings(Generalsetting generalsetting);

    /**
     * Gets generalsetting's information based on id.
     * @param id the generalsetting's id
     * @return generalsetting populated generalsetting object
     */
    public Generalsetting getGeneralsetting(final String id);

    /**
     * Saves a generalsetting's information
     * @param generalsetting the object to be saved
     */
    public void saveGeneralsetting(Generalsetting generalsetting);

    /**
     * Removes a generalsetting from the database by id
     * @param id the generalsetting's id
     */
    public void removeGeneralsetting(final String id);
    
    public Generalsetting getGeneralsettingBySysIdKey(String sysId, String key);
}

